/**
 * Copyright (c) 华南农业大学信息学院蔡超敏2015版权所有
 * 
 * 文件创建时间：2015年4月7日
 */
package org.scauinfo.fpos.model;

/**
 * @author 蔡超敏
 * 
 */
public class ProductModel {

	private Integer id;
	private String productId;
	private String productName;
	private Double productPrice;
	private String description;
	private String image;

	private String productTypeId;
	private String typeName;
	private String productTypeDescription;

	/**
	 * 
	 */
	public ProductModel() {
		super();
	}

	/**
	 * @param id
	 * @param productId
	 * @param productName
	 * @param productPrice
	 */
	public ProductModel(Integer id, String productId, String productName,
			Double productPrice) {
		super();
		this.id = id;
		this.productId = productId;
		this.productName = productName;
		this.productPrice = productPrice;
	}

	/**
	 * @param id
	 * @param productId
	 * @param productName
	 * @param productPrice
	 * @param productTypeId
	 * @param typeName
	 */
	public ProductModel(Integer id, String productId, String productName,
			Double productPrice, String productTypeId, String typeName) {
		super();
		this.id = id;
		this.productId = productId;
		this.productName = productName;
		this.productPrice = productPrice;
		this.productTypeId = productTypeId;
		this.typeName = typeName;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description
	 *            the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @return the image
	 */
	public String getImage() {
		return image;
	}

	/**
	 * @param image
	 *            the image to set
	 */
	public void setImage(String image) {
		this.image = image;
	}

	/**
	 * @return the productTypeDescription
	 */
	public String getProductTypeDescription() {
		return productTypeDescription;
	}

	/**
	 * @param productTypeDescription
	 *            the productTypeDescription to set
	 */
	public void setProductTypeDescription(String productTypeDescription) {
		this.productTypeDescription = productTypeDescription;
	}

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the productId
	 */
	public String getProductId() {
		return productId;
	}

	/**
	 * @param productId
	 *            the productId to set
	 */
	public void setProductId(String productId) {
		this.productId = productId;
	}

	/**
	 * @return the productName
	 */
	public String getProductName() {
		return productName;
	}

	/**
	 * @param productName
	 *            the productName to set
	 */
	public void setProductName(String productName) {
		this.productName = productName;
	}

	/**
	 * @return the productPrice
	 */
	public Double getProductPrice() {
		return productPrice;
	}

	/**
	 * @param productPrice
	 *            the productPrice to set
	 */
	public void setProductPrice(Double productPrice) {
		this.productPrice = productPrice;
	}

	/**
	 * @return the productTypeId
	 */
	public String getProductTypeId() {
		return productTypeId;
	}

	/**
	 * @param productTypeId
	 *            the productTypeId to set
	 */
	public void setProductTypeId(String productTypeId) {
		this.productTypeId = productTypeId;
	}

	/**
	 * @return the typeName
	 */
	public String getTypeName() {
		return typeName;
	}

	/**
	 * @param typeName
	 *            the typeName to set
	 */
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

}
